STU 3 Candidate

This page is part of the FHIR Specification (v1.4.0: STU 3 Ballot 3). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

Medicationorder-example-qicore.ttl

Raw Turtle, JSON-LD

Example of QICore MedicationOrder

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sct: <http://snomed.info/sct/> .
@prefix xs: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir//MedicationOrder/medicationorder-example-qicore> a fhir:MedicationOrder;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "medicationorder-example-qicore"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  fhir:MedicationOrder.status [ fhir:value "active"];
  fhir:MedicationOrder.medicationReference [
     fhir:reference <http://hl7.org/fhir/Medication/example>;
     fhir:Reference.reference [ fhir:value "Medication/example" ]
  ];
  fhir:MedicationOrder.patient [
     fhir:reference <http://hl7.org/fhir/Patient/example>;
     fhir:Reference.reference [ fhir:value "Patient/example" ]
  ];
  fhir:MedicationOrder.dateWritten [ fhir:value "2015-03-25T19:32:52-05:00"^^xs:dateTime];
  fhir:MedicationOrder.prescriber [
     fhir:reference <http://hl7.org/fhir/Practitioner/example>;
     fhir:Reference.reference [ fhir:value "Practitioner/example" ]
  ];
  fhir:MedicationOrder.dosageInstruction [
     fhir:index 0;
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/pharmacy-core-doseType" ];
       fhir:Extension.valueCodeableConcept [
         a sct:440231000124106;
         fhir:CodeableConcept.coding [
           fhir:index 0;
           a sct:440231000124106;
           fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
           fhir:Coding.code [ fhir:value "440231000124106" ];
           fhir:Coding.display [ fhir:value "Maintenance dose" ]         ]       ]     ];
     fhir:Element.extension [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/pharmacy-core-infuseOver" ];
       fhir:Extension.valueQuantity [
         fhir:Quantity.value [ fhir:value "1"^^xs:decimal ];
         fhir:Quantity.unit [ fhir:value "min" ];
         fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
         fhir:Quantity.code [ fhir:value "m" ]       ]     ];
     fhir:Element.extension [
       fhir:index 2;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/pharmacy-core-minDosePerPeriod" ];
       fhir:Extension.valueRatio [
         fhir:Ratio.numerator [
           fhir:Quantity.value [ fhir:value "15"^^xs:decimal ];
           fhir:Quantity.unit [ fhir:value "ml" ];
           fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
           fhir:Quantity.code [ fhir:value "ml" ]         ];
         fhir:Ratio.denominator [
           fhir:Quantity.value [ fhir:value "1"^^xs:decimal ];
           fhir:Quantity.unit [ fhir:value "day" ];
           fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
           fhir:Quantity.code [ fhir:value "day" ]         ]       ]     ];
     fhir:Element.extension [
       fhir:index 3;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/pharmacy-core-maxDeliveryVolume" ];
       fhir:Extension.valueQuantity [
         fhir:Quantity.value [ fhir:value "15"^^xs:decimal ];
         fhir:Quantity.unit [ fhir:value "ml" ];
         fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
         fhir:Quantity.code [ fhir:value "ml" ]       ]     ];
     fhir:MedicationOrder.dosageInstruction.timing [
       fhir:Timing.repeat [
         fhir:Timing.repeat.frequency [ fhir:value "3"^^xs:int ];
         fhir:Timing.repeat.period [ fhir:value "1"^^xs:decimal ];
         fhir:Timing.repeat.periodUnit [ fhir:value "d" ]       ]     ];
     fhir:MedicationOrder.dosageInstruction.route [
       a sct:394899003;
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a sct:394899003;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "394899003" ];
         fhir:Coding.display [ fhir:value "oral administration of treatment" ]       ]     ];
     fhir:MedicationOrder.dosageInstruction.doseQuantity [
       fhir:Quantity.value [ fhir:value "5"^^xs:decimal ];
       fhir:Quantity.unit [ fhir:value "ml" ];
       fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
       fhir:Quantity.code [ fhir:value "ml" ]     ]
  ];
  fhir:MedicationOrder.dispenseRequest [
     fhir:MedicationOrder.dispenseRequest.quantity [
       fhir:Quantity.value [ fhir:value "100"^^xs:decimal ];
       fhir:Quantity.unit [ fhir:value "ml" ];
       fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
       fhir:Quantity.code [ fhir:value "ml" ]     ]
  ].

# -------------------------------------------------------------------------------------


Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.